<!-- 损失物品-损失枪支弹药(龙文友) -->
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	template="/layout/page/form/page-fieldset-template.xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	xmlns:sinox="http://www.sinosoft.com.cn/sinox">
	
	<ui:param name="spearViewBean" value="#{commonContentViewBean}"/>
	<ui:param name="compId" value="#{commonContentViewBean.id}" />
	<ui:param name="compTitle" value="损失枪支弹药" />
	<ui:param name="compToggleable" value="true" />
	<ui:param name="pvb" value="#{commonContentViewBean.parent}"/>
	
	<ui:define name="compHiddens">
	 	
	</ui:define>
	
	<ui:define name="compContent">
		<ui:decorate template="/layout/input/editable-template.xhtml">
			<!-- 第一行 -->
			 <ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="single" />
				<ui:param name="compBean1Id" value="casesn" />
				<ui:param name="compBean1Lable" value="案件编号" />
				
				<ui:define name="compBean1Content">
					 <h:inputText id="casesn" value="#{spearViewBean.fields.casesn}" readonly="true"/>
				</ui:define>
			</ui:decorate>
			
			<!-- 第二行 -->
			 <ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="firearmtype" />
				<ui:param name="compBean1Lable" value="枪支种类" />
				<ui:param name="compBean2Id" value="firsource" />
				<ui:param name="compBean2Lable" value="来源" />
				<ui:define name="compBean1Content">
					<sinox:codeSetInputTree id="firearmtype" codeSetId="id_c_qzdyzl" value="#{spearViewBean.fields.firearmtype}" formId="#{commonContentViewBean.id}_form"/>
				</ui:define>
				<ui:define name="compBean2Content">
					 <sinox:codeSetInputTree id="firsource" codeSetId="id_c_saqzly" value="#{spearViewBean.fields.firsource}" formId="#{commonContentViewBean.id}_form"/>
				</ui:define>
			</ui:decorate>	
			<!-- 第三行 -->
			<ui:decorate template="/layout/input/editable-2c-custom-template.xhtml">
				<ui:param name="compType" value="normal" />
				<ui:param name="compBean1Id" value="serialdouble" />
				<ui:param name="compBean1Lable" value="枪号" />
				<ui:param name="compBean2Id" value="firdouble" />
				<ui:param name="compBean2Lable" value="数量" />
				<ui:define name="compBean1Content">
					<h:inputText id="serialdouble" value="#{spearViewBean.fields.serialdouble}"/>
				</ui:define>
				<ui:define name="compBean2Content">
					<h:inputText id="firdouble" value="#{spearViewBean.fields.firdouble}"/>
				</ui:define>
			</ui:decorate>
		</ui:decorate>
		
	</ui:define>



	<ui:define name="compButtons">
		<p:commandButton
			title="保存"
			actionListener="#{caseGoodsManager.save}"
			onclick="#{compId}_dialog.hide();"
			onstart="this.disabled=true"
			image="./img/icons/add.png" value="保存" style="margin:5px;"
			>
			<h:inputHidden id="#{compId}" value="qzdy" />
		</p:commandButton>
		<p:commandButton title="重置" image="ui-icon-disk" value="重置"></p:commandButton>
	</ui:define>
</ui:composition>
